package cn.yunhe.model;

import java.util.List;

/**
 * @Author Created by zs on 2017/12/20.
 */
public class Page {

    //每页大小
    private int pageSize;
    //当前页码
    private int curPageNum;
    //总页数
    private int totalPage;
    //总记录数
    private int totalNum;
    //当前记录列表
    private List<Person> result;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurPageNum() {
        return curPageNum;
    }

    public void setCurPageNum(int curPageNum) {
        this.curPageNum = curPageNum;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public List<Person> getResult() {
        return result;
    }

    public void setResult(List<Person> result) {
        this.result = result;
    }
}
